/**
 * Created by Abduahad on 2018/2/8.
 */
var ctrl = angular.module('HomeController',[]);

ctrl.controller('HomeCtrl',function($scope,$rootScope){
    $rootScope.active = 1;
})
ctrl.controller('SliderCtrl',function($scope){
    mui.init({
        swipeBack:true //启用右滑关闭功能
    });
    var slider = mui("#slider");
    slider.slider({interval: 2000});
})